package unilearn.vo;

public class Subject implements java.io.Serializable {

    private String subjectCode;
    private String name;
    private int convernorId;

    public Subject() {
    }

    public Subject(String subjectCode, String name, int convernorId) {
        this.subjectCode = subjectCode;
        this.name = name;
        this.convernorId = convernorId;
    }

    public String getSubjectCode() {
        return this.subjectCode;
    }

    public void setSubjectCode(String subjectCode) {
        this.subjectCode = subjectCode;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getConvernorId() {
        return this.convernorId;
    }

    public void setConvernorId(int convernorId) {
        this.convernorId = convernorId;
    }

    @Override
    public String toString() {
        return "Subject{" + "subjectCode=" + subjectCode + ", name=" + name + ", convernorId=" + convernorId + '}';
    }
}
